<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<input type="text">
<input type="password">
<input type="button" value="login" onclick="test()">
</body>
<script src="./jquery.js">
</script>
<script>
    function test(){
        $.ajax({
            url:'/test/hello',
            type:'get',
            success:function(res){
                console.log(res);
            }
        })
    }
</script>
</html>